#include "ParamNode.h"

using namespace std;

ParamNode::~ParamNode()
{
	for(list<Node*>::iterator it = parameters.begin(); it != parameters.end(); it++ )
		delete(*it);
}

void ParamNode::addParam(Node * Parameter)
{ parameters.push_back(Parameter); }

const std::list<Node*> & ParamNode::getParamList() const
{ return parameters; }

void ParamNode::accept(Visitor & v)
{ v.visitParamNode(this); }

